package com.zg.nacos.domain.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/6/25 17:25
 */

@Data
@ApiModel
public class NamespaceAddReq extends NacosReq {

    @ApiModelProperty(value = "命名空间ID", required = true)
    @NotEmpty(message = "命名空间ID不能为空")
    private String projectCode="zg-apis";

    @ApiModelProperty(value = "命名空间名称", required = true)
    @NotEmpty(message = "命名空间名称")
    private String projectName="zg-apis";

    @ApiModelProperty(value = "描述", required = true)
    private String intro;
}
